package ControlLayer;
import ModelLayer.*;
import java.util.ArrayList;

public class CtrSupplier 
{
	public CtrSupplier()
	{
	
	}
	
	//Find all suppliers in the database.
	public ArrayList<Supplier> findAllSuppliers()
	{
		
	}
	
	//Find a supplier by name.
	public Supplier findByName(String name)
	{
		
	}
	
	//Find the supplier by sypplierid.
	public Supplier findById(int id)
	{
		
	}
	
	//updates a suppliers information
	public void updateSupplier(String supplierId, String name, String address, String country, String phoneNo, String email)
	{
		
	}
	
	//Creates a new object of supplier in the database.
	public void createSupplier(String supplierId, String name, String address, String country, String phoneNo, String email)
	{
		
	}
	
	//Deletes a supplier in the database.
	public void DeleteSupplier(String supplierId, String name)
	{
		if(supplierId == null)
		{
			
		}
			
	}
	
}
